/**
  ETFDAQ Project
  \class TAYaml
  \brief a YAML user input reader
  \author SUN Yazhou, asia.rabbit@163.com
  \since 2024-08-15
  \date 2024-08-15 last modified

  \copyright Copyright (c) 2024 IMP-CAS with LGPLv3 LICENSE
*/

#include "TAYaml.h"

TAYaml::TAYaml() : fIsGood(false){}

TAYaml::TAYaml(const string &file) : YAML::Node(YAML::LoadFile(file.data())),
fIsGood(true){}

TAYaml::TAYaml(const YAML::Node &n) : YAML::Node(n), fIsGood(true){}

TAYaml::~TAYaml(){}
